package com.burt.framework.servlet;

import java.util.Map;
import lombok.Data;

/**
 * Description:ModelAndView
 * User: Burt
 * Date: 2017-06-25
 * Time: 11:18
 */
@Data
public class BurtModelAndView {

    /**
     * 页面模板
     */
    private String view;
    /**
     * 要往页面上带过去的值
     */
    private Map<String, Object> model;

    public BurtModelAndView() {
    }

    public BurtModelAndView(String view, Map<String, Object> model) {
        this.view = view;
        this.model = model;
    }
}
